package com.elitel.frame.base.service;

import java.util.List;

import com.elitel.frame.main.entity.BaseSqlFieldType;
import com.elitel.frame.main.entity.CfgExtsql;
import com.elitel.frame.main.entity.vo.ExecuteSqlInfoVo;
import com.elitel.frame.main.entity.vo.SingleTableInfoVo;

public interface CfgExtsqlService {

	CfgExtsql selectCfgSqlByPrimary(String guid);
	
	List<String> selectBaseSqlField(String serviceID);

    int insertBaseSqlFieldType(BaseSqlFieldType baseSqlFieldType);

    // delete by serviceId
    boolean deleteByServiceId(String serviceId);

    // find by serviceId
    List<BaseSqlFieldType> findByServiceId(String serviceId);

	List<CfgExtsql> findAllScriptSql();

    List<ExecuteSqlInfoVo> selectByServiceCodes(List<String> serviceCodes);
}
